home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / os.399 < prev    next >
Text File  |  1992-02-06  |  2KB  |  53 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f3\fmodern Courier;\f1\fmodern Ohlfs;}
  2. \paperw13040
  3. \paperh10200
  4. \margl120
  5. \margr120
  6. {\colortbl\red0\green0\blue0;}
  7. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ul0\fs28 high serial ports speed hardware\
  8. \
  9. Q: Can I run the serial ports at speeds higher than the typical 19.2 or 38.4 Kbps?\
  10. \
  11. Q: How do I programmatically set the speed of a serial port to 19.2Kb or 38.4Kb?\
  12. \
  13. A:  There is no capability to run the serial ports at other than the standard "Un*x" baud rates or the lowest MIDI rate (31.25 K).  The operating system has no support software beyond these baud rates.  \
  14. \
  15. A: Use EXTA for 19.2Kb, EXTB for 38.4Kb.\
  16. \
  17.  
  18. \b\fs36 Further notes on reliability of high-speed data communication:
  19. \b0\fs28 \
  20.  
  21. \b Release 2.0 on 040 Products\
  22.  
  23. \b0 NeXT 040 products (which only run release 2.0) support hardware flow control.  If your serial device supports hardware flow control, and you have the correct cable, you can use this feature via the hardware flow control devices:  /dev/ttyf[ab], /dev/cuf[ab].  Communication at 38.4 is extremely reliable when hardware flow control is employed.\
  24. \
  25.  
  26. \b Release 2.0 on 030 Products\
  27.  
  28. \b0 If you are using an 030 based product and are running 2.0, 38.4 has been tested successfully in several real world conditions (such as printing to a Apple Laserwriter IIntx).\
  29. \
  30. Further information on the serial ports can be found in the 
  31. \f3\b zs(4)
  32. \f0\b0  man page and in the 2.0 Network and System Administration Manual.\
  33. \
  34.  
  35. \b Release 1.0A
  36. \b0 \
  37.  19.2K should work, IF you have some kind of upper level flow control (e.g.,  uucp should work at 19.2K).  At 19.2K the uarts (serial port hardware) won't drop characters, but without upper level flow control you don't have enough cpu cycles left to do anything realistic with the data at full rate.\
  38. \
  39. 38.4K drops characters "every now and then."  If you have a protocol that deals with retransmits on bad "packets", it's worth a try.  (Again, UUCP can be suitable here.)\
  40. \
  41. Whether or not the system can handle data at a particular baud rate is a subtle question, it involved things like burst rate, avg rate, flow control, and protocol support.  This simplest answer is: 19.2K bursts, yes.  38.4K bursts, marginal.\
  42. \
  43. [Additional keywords for indexing: tty ttya ttyda cua ttyb ttyd cub ttyfa 
  44. \fc0 /dev/ttydfa cufa /dev/cufa
  45. .]\
  46. \
  47. QA399\
  48. \
  49. Valid for 1.0 \
  50. Valid for 2.0 \
  51. \
  52.  
  53.